]> dgit.raspbian.org Git - vtk9.git/commitdiff
Do not install internal h5hut config.h into public header directory
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 13 Oct 2026 10:08:50 +0000 (12:08 +0200)
committerMaximiliano Curia <maxy@debian.org>
Tue, 13 Oct 2026 10:08:50 +0000 (12:08 +0200)
Forwarded: not-needed

Move config.h from public headers to private_headers in vtkh5hut to avoid
defining generic autoconf PACKAGE_* macros in public header paths.

Gbp-Pq: Name dont_install_h5hut_config_h.patch

ThirdParty/h5hut/vtkh5hut/CMakeLists.txt

index cf697322dfca523b2c2276d3f8fa311484be3211..897e7d08b953f50446a76294665e755f61f03002 100644 (file)
@@ -51,8 +51,7 @@ set(headers
   src/include/H5Part_io.h
   src/include/H5Part_model.h
   src/include/vtk_h5hut_mangle.h
-  "${CMAKE_CURRENT_BINARY_DIR}/src/include/vtkh5hut_export.h"
-  "${CMAKE_CURRENT_BINARY_DIR}/src/include/config.h")
+  "${CMAKE_CURRENT_BINARY_DIR}/src/include/vtkh5hut_export.h")
 
 set(sources
   src/h5core/h5_attachments.c
@@ -78,6 +77,7 @@ set(sources
   src/h5core/h5u_model.c)
 
 set(private_headers
+  "${CMAKE_CURRENT_BINARY_DIR}/src/include/config.h"
   src/h5core/private/h5_attribs.h
   src/h5core/private/h5_const.h
   src/h5core/private/h5_err.h